using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace LdtJudge.DataEngine.Model.DataModel.SystemtableModel {

	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class SYS_ProsecutorDept {

		[JsonProperty, Column(DbType = "varchar(32)", IsPrimary = true, IsNullable = false)]
		public string PD_ID { get; set; }

		/// <summary>
		/// 市
		/// </summary>
		[JsonProperty, Column(StringLength = 50)]
		public string PD_City { get; set; }

		/// <summary>
		/// 检察院编号
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(32)")]
		public string PD_Code { get; set; }

		/// <summary>
		/// 县（区）
		/// </summary>
		[JsonProperty, Column(StringLength = 50)]
		public string PD_CountyAndDistrict { get; set; }

		/// <summary>
		/// 检察院级别
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(10)")]
		public string PD_LevelID { get; set; }

		/// <summary>
		/// 检察院名称
		/// </summary>
		[JsonProperty, Column(StringLength = 100, IsNullable = false)]
		public string PD_Name { get; set; }

		/// <summary>
		/// 父级ID
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(32)")]
		public string PD_ParentID { get; set; }

		/// <summary>
		/// 省
		/// </summary>
		[JsonProperty, Column(StringLength = 50)]
		public string PD_Province { get; set; }

		/// <summary>
		/// 备注
		/// </summary>
		[JsonProperty, Column(StringLength = 1500)]
		public string PD_Remarks { get; set; }

		/// <summary>
		/// 检察院简称
		/// </summary>
		[JsonProperty, Column(StringLength = 3000)]
		public string PD_ShortName { get; set; }

		[JsonProperty, Column(StringLength = 600)]
		public string PD_StandardName { get; set; }

		[JsonProperty]
		public int? PD_StausFlag { get; set; }

		/// <summary>
		/// 检察院尾部
		/// </summary>
		[JsonProperty, Column(StringLength = 150)]
		public string PD_Suffix { get; set; }

		/// <summary>
		/// 序号
		/// </summary>
		[JsonProperty]
		public int? SerialNumb { get; set; }

		/// <summary>
		/// 更新时间
		/// </summary>
		[JsonProperty]
		public DateTime? UpdateTime { get; set; }

	}

}
